	<!-- INCLUDE ucp_header.html -->

<!-- INCLUDE ucp_pm_message_header.html -->

<div id="post-{MESSAGE_ID}" class="block post <!-- IF S_ONLINE --> online<!-- ENDIF -->">
    <div class="post-header">

    <!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT -->
    <div class="post-author gradient link settings">
        <a href="javascript:void(0);">&nbsp;</a>
        <ul class="sub sub-nojs">
			<!-- IF U_EDIT --><li><a href="{U_EDIT}">{L_POST_EDIT_PM}</a></li><!-- ENDIF -->
			<!-- IF U_DELETE --><li><a href="{U_DELETE}">{L_DELETE_MESSAGE}</a></li><!-- ENDIF -->
			<!-- IF U_REPORT --><li><a href="{U_REPORT}">{L_REPORT_PM}</a></li><!-- ENDIF -->
			<!-- IF U_QUOTE --><li><a href="{U_QUOTE}">{L_POST_QUOTE_PM}</a></li><!-- ENDIF -->
		</ul>
    </div>
    <!-- ENDIF -->

    <div class="post-author gradient link">
        <a href="{U_MESSAGE_AUTHOR}">{MESSAGE_AUTHOR}</a>
        <ul class="sub sub-nojs">
            <li><a href="{U_MESSAGE_AUTHOR}">{MESSAGE_AUTHOR}</a></li>
            <li><span>{L_POSTS}: {AUTHOR_POSTS}</span></li>
    		<!-- IF AUTHOR_JOINED --><li><span>{L_JOINED}: {AUTHOR_JOINED}</span></li><!-- ENDIF -->
    		<!-- IF AUTHOR_FROM --><li><span>{L_LOCATION}: {AUTHOR_FROM}</span></li><!-- ENDIF -->
			<!-- IF U_PM --><li><a href="{U_PM}">{L_PRIVATE_MESSAGE}</a></li><!-- ENDIF -->
			<!-- IF U_EMAIL --><li><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</a></li><!-- ENDIF -->
        </ul>
    </div>

    <h2>{SUBJECT}</h2>
    </div>
    <p class="post-time">{SENT_DATE}
        <!-- IF S_TO_RECIPIENT --><br />{L_TO}: <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END to_recipient --><!-- ENDIF -->
        <!-- IF S_BCC_RECIPIENT --><br />{L_BCC}: <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF -->&nbsp;<!-- END bcc_recipient --><!-- ENDIF -->
    </p>
    <div class="postbody">
        {MESSAGE}

		<!-- IF S_HAS_ATTACHMENTS -->
		<dl class="attachbox">
			<dt>{L_ATTACHMENTS}</dt>
			<!-- BEGIN attachment -->
			<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
			<!-- END attachment -->
		</dl>
		<!-- ENDIF -->

		<!-- IF S_DISPLAY_NOTICE -->
			<div class="notice">{L_DOWNLOAD_NOTICE}</div>
		<!-- ENDIF -->

		<!-- IF EDITED_MESSAGE or EDIT_REASON -->
		<div class="notice">{EDITED_MESSAGE}
			<!-- IF EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{EDIT_REASON}</em><!-- ENDIF -->
		</div>
		<!-- ENDIF -->

	</div>
</div>

<!-- IF S_VIEW_MESSAGE -->
<!-- IF U_PREVIOUS_PM or U_NEXT_PM -->
<div class="buttons">
	<!-- IF U_PREVIOUS_PM --><a href="{U_PREVIOUS_PM}" class="gradient link">{L_VIEW_PREVIOUS_PM}</a><!-- ENDIF -->
	<!-- IF U_NEXT_PM --> <a href="{U_NEXT_PM}" class="gradient link">{L_VIEW_NEXT_PM}</a><!-- ENDIF -->
</div>
<!-- ENDIF -->
<fieldset>
	<!-- IF S_MARK_OPTIONS --><label for="mark_option"><select name="mark_option" id="mark_option">{S_MARK_OPTIONS}</select></label>&nbsp;<input class="button2" type="submit" name="submit_mark" value="{L_GO}" /><!-- ENDIF -->
	<!-- IF not S_UNREAD and not S_SPECIAL_FOLDER --><label for="dest_folder"><!-- IF S_VIEW_MESSAGE -->{L_MOVE_TO_FOLDER}: <!-- ELSE -->{L_MOVE_MARKED_TO_FOLDER}<!-- ENDIF --> <select name="dest_folder" id="dest_folder">{S_TO_FOLDER_OPTIONS}</select></label> <input class="button2" type="submit" name="move_pm" value="{L_GO}" /><!-- ENDIF -->
	<input type="hidden" name="marked_msg_id[]" value="{MSG_ID}" />
	<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />
	<input type="hidden" name="p" value="{MSG_ID}" />
</fieldset>
<!-- ENDIF -->

<!-- INCLUDE ucp_pm_message_footer.html -->

<!-- INCLUDE ucp_footer.html -->